Pod::Spec.new do |s|
  #验证方法：pod lib lint BBXPassengerModel.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries
  s.name         = "CJDemoUtils"
  s.version      = "0.0.1"
  s.summary      = "个人Demo模块化开发--工具"
  s.homepage     = "https://gitee.com/dvlproad/CJDemoDemo.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2016 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
  					     *、BBXPUser：    用户数据模型
             		*、BBXPServiceLineAndStation：     某点附近的站点/服务站/线路
             		*、BBXPAddress： 地址数据模型
             		*、BBXPCity：    城市数据模型
             		*、BBXPCityPack：城市包数据模型
  				   	*、BBXPOrder：   订单数据模型
  				   

                   A longer description of CJPopupAction in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "8.0"
 
  s.source       = { :git => "https://gitee.com/dvlproad/CJDemoDemo.git", :tag => "BBXPassengerModel_0.0.4" }
  #s.source_files  = "CJCustomView/CJChat/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"
  s.dependency "MJExtension"

  s.dependency "BBXPassengerBase/BBXPNetwork"
  s.dependency "BBXPassengerBase/BBXPDatabase"

  # 帮邦行乘客端--User数据模型
  s.subspec 'CJDemoUtils' do |ss|
  	ss.subspec 'Models' do |sss|
    	sss.source_files = "BBXPassengerModel/BBXPUser/Models/**/**.{h,m}"
  	end

  	ss.subspec 'Network' do |sss|
    	sss.source_files = "BBXPassengerModel/BBXPUser/Network/**/**.{h,m}"
    	sss.dependency "BBXPassengerModel/BBXPUser/Models"
  	end
  end


  # # 帮邦行乘客端--服务线路和服务站网络情趣
  # s.subspec 'BBXPServiceLineAndStation' do |ss|
  #   ss.subspec 'Network' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPServiceLineAndStation/Network/**/**.{h,m}"

  #     sss.dependency "BBXPassengerModel/BBXPUser/Models"
  #   end
  # end

  # # 帮邦行乘客端--地址数据模型
  # s.subspec 'BBXPAddress' do |ss|
  #   ss.subspec 'Models' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPAddress/Models/**/**.{h,m}"
  #   end

  #   ss.subspec 'Network' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPAddress/Network/**/**.{h,m}"
  #     sss.dependency "BBXPassengerModel/BBXPAddress/Models"

  #     sss.dependency "BBXPassengerModel/BBXPUser/Models"
  #   end

  #   ss.subspec 'Database' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPAddress/Database/**/**.{h,m}"
  #     sss.dependency "BBXPassengerModel/BBXPAddress/Models"
  #   end
  # end

  # # 帮邦行乘客端--城市数据模型
  # s.subspec 'BBXPCity' do |ss|
  #   ss.subspec 'Models' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPCity/Models/**/**.{h,m}"
  #     #sss.dependency "BBXPassengerThird/BBXPBMKMapModule"
  #     sss.dependency "CJThirdPlatform/CJMap/CJBaiduMap"
  #   end

  #   # ss.subspec 'Network' do |sss|
  #   #   sss.source_files = "BBXPassengerModel/BBXPCity/Network/**/**.{h,m}"
  #   #   sss.dependency "BBXPassengerModel/BBXPCity/Models"

  #   #   sss.dependency "BBXPassengerModel/BBXPUser/Models"
  #   # end

  #   ss.subspec 'Database' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPCity/Database/**/**.{h,m}"
  #     sss.dependency "BBXPassengerModel/BBXPCity/Models"
  #   end
  # end

  # # 帮邦行乘客端--城市包数据模型
  # s.subspec 'BBXPCityPack' do |ss|
  #   ss.subspec 'Models' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPCityPack/Models/**/**.{h,m}"

  #     sss.dependency "BBXPassengerModel/BBXPCity/Models"
  #   end

  #   # ss.subspec 'Network' do |sss|
  #   #   sss.source_files = "BBXPassengerModel/BBXPCityPack/Network/**/**.{h,m}"
  #   #   sss.dependency "BBXPassengerModel/BBXPCityPack/Models"

  #   #   sss.dependency "BBXPassengerModel/BBXPUser/Models"
  #   # end

  #   # ss.subspec 'Database' do |sss|
  #   #   sss.source_files = "BBXPassengerModel/BBXPCityPack/Database/**/**.{h,m}"
  #   #   sss.dependency "BBXPassengerModel/BBXPCityPack/Models"
  #   # end
  # end

  # # 帮邦行乘客端--订单数据模型
  # s.subspec 'BBXPOrder' do |ss|
  #   ss.subspec 'Models' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPOrder/Models/**/**.{h,m}"

  #     sss.dependency "BBXPassengerModel/BBXPAddress/Models"
  #     sss.dependency "CJFoundation/NSString"
  #   end

  #   ss.subspec 'Network' do |sss|
  #     sss.source_files = "BBXPassengerModel/BBXPOrder/Network/**/**.{h,m}"
  #     sss.dependency "BBXPassengerModel/BBXPOrder/Models"

  #     sss.dependency "BBXPassengerModel/BBXPUser/Models"
  #   end
  # end

 


end
